package com.bdqn.membersystem.mapper;

import com.bdqn.membersystem.pojo.LeaveMessage;

import java.security.spec.ECField;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

public interface LeaveMessageMapper {
    /**
     * getLeaveMessageList
     * @return
     */
    public List<LeaveMessage> getLeaveMessageList(LeaveMessage leaveMessage) throws Exception;

    /**
     * getLeaveMessage
     * @param leaveMessage
     * @return
     * @throws Exception
     */
    public LeaveMessage getLeaveMessage(LeaveMessage leaveMessage) throws Exception;

    /**
     * count
     * @param leaveMessage
     * @return
     * @throws Exception
     */
    public int count(LeaveMessage leaveMessage) throws Exception;

    /**
     * addLeaveMessage
     * @param leaveMessage
     * @return
     */
    public int addLeaveMessage(LeaveMessage leaveMessage) throws Exception;

    /**
     * modifyLeaveMessage
     * @param leaveMessage
     * @return
     */
    public int modifyLeaveMessage(LeaveMessage leaveMessage);

    /**
     * deleteLeaveMessage
     * @param deleteLeaveMessage
     * @return
     */
    public int deleteLeaveMessage(LeaveMessage deleteLeaveMessage);

}